package cn.weekimwee.firstlineofcodeforkotlin.unit5

import android.support.v7.app.AppCompatActivity
import android.os.Bundle
import cn.weekimwee.firstlineofcodeforkotlin.BaseActivity
import cn.weekimwee.firstlineofcodeforkotlin.R
import kotlinx.android.synthetic.main.activity_unit5_1.*
import org.jetbrains.anko.startActivity

class Unit5_1Activity : BaseActivity() {

    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_unit5_1)
        start.setOnClickListener {
            startActivity<Unit5_2Activity>()
        }
    }
}
